realtek: implement get_stats64
authorJan Hoffmann <[email protected]>
Fri, 25 Apr 2025 18:18:52 +0000 (20:18 +0200)
committerHauke Mehrtens <[email protected]>
Sun, 27 Jul 2025 14:46:20 +0000 (16:46 +0200)
commitfa63a5365ed905396bdae3bd91c35df6999a08ac
treeb8b687e17f5fd76bfb6f3af7254b0a4fbedb211d
parente27e6959781fe3abf768ed9fb1681678c5e65c1b
realtek: implement get_stats64

By default, the network interface stats are based on software counters,
which only consider traffic from and to the CPU. Implementing the
get_stats64 method allows to report the full hardware counters instead.

Signed-off-by: Jan Hoffmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18415
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl83xx.h